dpkg --get-selections|grep linux

# apt-get remove linux-image-XXXX
# dpkg -P linux-image-3.5.0-51-generic  
